﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HeartStone.BaseDomain;

namespace HeartStone.Units.Hero
{
	public class HeroWarrior : BaseDomain.BaseHero
	{
		/// <summary>
		/// 构造函数
		/// </summary>
		public HeroWarrior()
		{
			Name = "战士";
			//初始化自己的技能
			HeroSkill = new WarriorSkill(this);
		}
	}

	public class WarriorSkill : BaseHeroSkill
	{
		public WarriorSkill(BaseHero pHero)
			: base(pHero)
		{
			TargetObject = TargetedObject.None;
		}

		/// <summary>
		/// 战士的技能
		/// </summary>
		public override void Skill(BaseUnit taregted)
		{

			thisHero.Ac += 2;
			Console.WriteLine("{0}使用了技能，当前护甲{1}，生命{2}", thisHero.Name, thisHero.Ac, thisHero.Hp);
		}
	}
}
